let b: 1 = 1
// b = 2


interface IRes {
  code: Code,
  status: 'success' | 'fail',
  data: any
}

type Code = 10000 | 10001 | 10002 | 50000